<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:template match="/">
		<html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<link rel="stylesheet" href="../css/default.css" />
		</head>
		<body>
			<div id="content" class="col-full">
				<h2><center>Procurement Report</center></h2>
				<table width="100%" border="3">
					<col width="45%"/>
					<col width="55%"/>				
					<tr>
						<td colspan="2"><h4>Ordered Date: <xsl:value-of select="order/@orderDate"></xsl:value-of></h4></td>
					</tr>	
					<tr><td colspan="2">
					<table width="100%" border="5">
						<colgroup>
							<col width="15%" />
							<col width="30%" />
							<col width="25%" />
							<col width="20%" />
							<col width="10%" />
							
						</colgroup>
						<tr>
							<th>Item Number</th>
							<th>Item Name</th>
							<th>From WholeSaler</th>
							<th>Biding Price</th>
							<th>Quantity</th>
						</tr>
						<xsl:for-each select="order/items/item">
							<tr>
								<td><xsl:value-of select="@number"></xsl:value-of></td>
								<td><xsl:value-of select="name"></xsl:value-of></td>
								<td><xsl:value-of select="wholeSaler"></xsl:value-of></td>
								<td>$ <xsl:value-of select="price"></xsl:value-of></td>
								<td><xsl:value-of select="quantity"></xsl:value-of></td>
							</tr>
						</xsl:for-each>						
					</table>
					</td>
					</tr>				
				</table>
			</div>
		</body>
		</html>
	</xsl:template>
</xsl:stylesheet>